package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.dto.HealthEncyclopediaDto;
import com.neu.fenli2023623.entity.HealthEncyclopedia;
import com.neu.fenli2023623.vo.HealthEncyclopediaVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author houjie
* @description 针对表【health_encyclopedia(健康百科)】的数据库操作Mapper
* @createDate 2023-07-05 09:50:05
* @Entity com.neu.fenli2023623.entity.HealthEncyclopedia
*/
@Mapper
public interface HealthEncyclopediaMapper {

    List<HealthEncyclopediaVo> selectall();

    int insert(HealthEncyclopediaDto record);//增加

    int deleteByPrimaryKey(Long id);//删除

    List<HealthEncyclopedia> selectByName(String name);//查询

    HealthEncyclopedia selectByPrimaryKey(Long id);
    int updateByPrimaryKey(HealthEncyclopediaDto record);//更新




}
